package com.qbw.app.request;

import com.http.okhttp.HttpTask;

/**
 * @author QBW
 * @date 2019/8/29
 */
public interface IUserRequest {

    HttpTask login(String telCode, String phone, String password, HttpTask.CallBack callBack);

    HttpTask getUserInfo(HttpTask.CallBack callBack);

    HttpTask regist(String telCode,
                    String phone,
                    String password,
                    String code,
                    HttpTask.CallBack callBack);

    HttpTask resetPassword(String telCode,
                           String phone,
                           String password,
                           String code,
                           HttpTask.CallBack callBack);

    HttpTask updateInfo(String deviceToken,
                        String currentVehicleCode,
                        String userNick,
                        String userImgPath,
                        HttpTask.CallBack callBack);
}
